package com.med.meddataintegrator.common.mapper;

import com.med.meddataintegrator.common.pojo.dos.PatientDo;
import com.med.meddataintegrator.common.pojo.dto.patinet.PatientQueryParams;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author DELL
* @description 针对表【lb_patient】的数据库操作Mapper
* @createDate 2025-02-28 15:39:57
* @Entity com.med.meddataintegrator.domain.dos.PatientDo
*/
@Mapper
public interface PatientDoMapper {

    int deleteByPrimaryKey(Long id);

    int insert(PatientDo record);

    int insertSelective(PatientDo record);

    PatientDo selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(PatientDo record);

    int updateByPrimaryKey(PatientDo record);

    int selectByName(String name);

    List<PatientDo> selectByParams(PatientQueryParams params);

    Integer selectByPatientName(String patientName);
}
